package com.simon.jkxj.model;

public class Post {
    private String title;
    private String content;
    private String username;
    private int likeCount;
    private int imageResourceId;

    public Post(String title, String content, String username, int likeCount, int imageResourceId) {
        this.title = title;
        this.content = content;
        this.username = username;
        this.likeCount = likeCount;
        this.imageResourceId = imageResourceId;
    }

    public String getTitle() {
        return title;
    }

    public String getContent() {
        return content;
    }

    public String getUsername() {
        return username;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public int getImageResourceId() {
        return imageResourceId;
    }
} 